<?php
require_once("init.php");

$id=$_GET['id'];
$url="http://twitter.com/statuses/show/".$id.".json";
$status=obj_to_array(get_from_twitter($url));
$screen_name=$status['user']['screen_name'];
$text=$status['text'];
$tweet_text= $_GET['mode'] == 'reply' ? "@".$screen_name." " : " RT @".$screen_name.": ".$text;
if($_GET['mode']=='reply'){
	$reply_id=$_GET['id'];
} else {
	$reply_id=null;
}
require_once("inc/header.php");
require_once("inc/footer.php");
?>